package org.dsbackend.security;

import java.io.Serializable;
import java.util.Date;

public class JwtToken implements Serializable {
    private static final long serialVersionUID = 2664101406261675282L;
    private String username;
    private Date expirationDate;

    public JwtToken(String username, Date expirationDate) {
        this.username = username;
        this.expirationDate = expirationDate;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(Date expirationDate) {
        this.expirationDate = expirationDate;
    }
}
